package com.github.catvod.spider;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.Application;
import android.content.Context;
import android.content.DialogInterface;
import android.content.SharedPreferences;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.View;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.Toast;
import com.github.catvod.crawler.SpiderDebug;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0002;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0006;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0008;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.D8;
import com.github.catvod.spider.merge.Ej;
import com.github.catvod.spider.merge.qd;
import java.lang.reflect.Field;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class Init {
    public static int BQ;
    public static String I;
    public static String Qy;
    public static String V0;
    public static String W;
    public static String h;
    public static String j;
    public static int oC;
    public static String q;
    private static EditText u;
    private final Handler F8 = new Handler(Looper.getMainLooper());
    private Application t;

    /* renamed from: short, reason: not valid java name */
    private static final short[] f24short = {1071, 1056, 1066, 1084, 1057, 1063, 1066, 1120, 1071, 1086, 1086, 1120, 1039, 1069, 1082, 1063, 1080, 1063, 1082, 1079, 1050, 1062, 1084, 1067, 1071, 1066, 2818, 2836, 2835, 2835, 2820, 2831, 2837, 2848, 2818, 2837, 2824, 2839, 2824, 2837, 2840, 2869, 2825, 2835, 2820, 2816, 2821, 2416, 2396, 2430, 2409, 2420, 2411, 2420, 2409, 2420, 2424, 2414, 2706, 2691, 2711, 2705, 2695, 2694, 943, 941, 954, 935, 952, 935, 954, 951, 1018, 998, 998, 994, 936, 957, 957, 996, 956, 995, 1019, 1011, 1021, 1016, 1019, 938, 956, 1009, 1021, 1023, 957, 1012, 1019, 1002, 931, 928, 930, 935, 956, 1016, 993, 1021, 1020, 2931, 2894, 2899, 2891, 2882, 1427, 1458, 1449, 1460, 1470, 1464, 2829, 2853, 2867, 2867, 2849, 2855, 2853, 2519, 2549, 2513, 2559, 2531, 3290, 3325, 3304, 3325, 3324, 3322, 727, 755, 761, 715, 748, 754, 680, 644, 667, 658, 671, 642, 667, 439, 394, 404, 411, 407, 415, 1380, 1378, 1396, 1379, 1365, 1392, 1381, 1392, 962, 979, 961, 961, 965, 989, 960, 982, -28780, -29712, 21766, 27555, 26968, 31842, 18966, 21910, 26571, 32033, 25602, 26361, -31865, 23031, 19492, 28737, -31738, 19598, 31340, 20685, -29424, 24701, 20722, -660};
    public static Boolean oq = Boolean.FALSE;

    private static class Loader {
        static volatile Init h = new Init();

        private Loader() {
            int m44 = C0014.m44();
            int i = 1616;
            while (true) {
                i ^= 1633;
                switch (i) {
                    case 14:
                    case 49:
                        i = m44 <= 0 ? 1709 : 1678;
                    case 204:
                        System.out.println(Float.valueOf(C0006.m23("8f4orU733P54rF7ad5NNMev")));
                        break;
                    case 239:
                        break;
                }
                return;
            }
        }
    }

    public Init() {
        int m4 = C0001.m4();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m4 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Double.valueOf(C0003.m11("6XyXDOMtP6A")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    static /* synthetic */ void V0() {
        getdata();
        int m4 = C0001.m4();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m4 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Float.valueOf(C0008.m29("jRixgnfLhBJ90NrTkFi0xfW")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    public static Application context() {
        return get().t;
    }

    public static Init get() {
        return Loader.h;
    }

    public static Activity getActivity() {
        try {
            Class<?> cls = Class.forName(C0001.m3(f24short, 0, 26, 1102));
            Object invoke = cls.getMethod(C0009.m30(f24short, 26, 21, 2913), new Class[0]).invoke(null, new Object[0]);
            Field declaredField = cls.getDeclaredField(C0006.m18(f24short, 47, 11, 2333));
            declaredField.setAccessible(true);
            Iterator it = ((Map) declaredField.get(invoke)).values().iterator();
            while (true) {
                boolean hasNext = it.hasNext();
                int i = 1616;
                while (true) {
                    i ^= 1633;
                    switch (i) {
                        case 14:
                        case 49:
                            i = hasNext ? 1709 : 1678;
                        case 204:
                            Object next = it.next();
                            Class<?> cls2 = next.getClass();
                            Field declaredField2 = cls2.getDeclaredField(C0007.m26(f24short, 58, 6, 2786));
                            declaredField2.setAccessible(true);
                            boolean z = declaredField2.getBoolean(next);
                            int i2 = 1740;
                            while (true) {
                                i2 ^= 1757;
                                switch (i2) {
                                    case 17:
                                        i2 = !z ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        break;
                                    case 500:
                                        Field declaredField3 = cls2.getDeclaredField(C0013.m41(f24short, 64, 8, 974));
                                        declaredField3.setAccessible(true);
                                        Activity activity = (Activity) declaredField3.get(next);
                                        SpiderDebug.log(activity.getComponentName().getClassName());
                                        return activity;
                                }
                            }
                            break;
                        case 239:
                            return null;
                    }
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }

    public static void getPackage() {
        get().F8.post(new Runnable() { // from class: com.github.catvod.spider.HA
            {
                int m54 = C0018.m54();
                int i = 1616;
                while (true) {
                    i ^= 1633;
                    switch (i) {
                        case 14:
                        case 49:
                            i = m54 >= 0 ? 1709 : 1678;
                        case 204:
                            System.out.println(Integer.parseInt(C0007.m25("gNHUSLV5zF00a")));
                            break;
                        case 239:
                            break;
                    }
                    return;
                }
            }

            @Override // java.lang.Runnable
            public final void run() {
                Init.V0();
            }
        });
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:48:0x0169. Please report as an issue. */
    public static AlertDialog getdata() {
        try {
            JSONObject jSONObject = new JSONObject(Ej.h(C0000.m1(f24short, 72, 33, 914)));
            h = jSONObject.getString(C0002.m6(f24short, 105, 5, 2855));
            BQ = jSONObject.getInt(C0002.m6(f24short, 110, 6, 1501));
            V0 = jSONObject.getString(C0009.m30(f24short, 116, 7, 2880));
            j = jSONObject.getString(C0014.m43(f24short, 123, 5, 2458));
            oC = jSONObject.getInt(C0018.m56(f24short, 128, 6, 3209));
            W = jSONObject.getString(C0017.m52(f24short, 134, 6, 670));
            q = jSONObject.getString(C0011.m35(f24short, 140, 7, 747));
            I = jSONObject.getString(C0006.m18(f24short, 147, 6, 506));
            String string = getActivity().getSharedPreferences(C0012.m37(f24short, 153, 8, 1297), 0).getString(C0013.m41(f24short, 161, 8, 946), "");
            int i = oC;
            int i2 = 1616;
            while (true) {
                i2 ^= 1633;
                switch (i2) {
                    case 14:
                    case 49:
                        i2 = i != 0 ? 1709 : 1678;
                    case 204:
                        boolean equals = string.equals(j);
                        int i3 = 1740;
                        while (true) {
                            i3 ^= 1757;
                            switch (i3) {
                                case 17:
                                    i3 = !equals ? 1833 : 1802;
                                case 54:
                                case 471:
                                    break;
                                case 500:
                                    boolean booleanValue = oq.booleanValue();
                                    int i4 = 1864;
                                    while (true) {
                                        i4 ^= 1881;
                                        switch (i4) {
                                            case 17:
                                                i4 = !booleanValue ? 48736 : 48705;
                                            case 47384:
                                                break;
                                            case 47417:
                                                AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
                                                LinearLayout linearLayout = new LinearLayout(getActivity());
                                                linearLayout.setOrientation(1);
                                                qd qdVar = new qd(getActivity());
                                                qdVar.setMaxHeight(300);
                                                qdVar.u(W);
                                                EditText editText = new EditText(getActivity());
                                                u = editText;
                                                editText.setHint(C0018.m56(f24short, 169, 6, 1123));
                                                u.setInputType(2);
                                                linearLayout.addView(qdVar);
                                                linearLayout.addView(u);
                                                int i5 = BQ;
                                                String m47 = C0015.m47(f24short, 175, 4, 1051);
                                                int i6 = 48767;
                                                while (true) {
                                                    i6 ^= 48784;
                                                    switch (i6) {
                                                        case 14:
                                                        case 45:
                                                            builder.setCancelable(false).setMessage(V0).setView(linearLayout).setNeutralButton(C0008.m27(f24short, 179, 2, 3010), new DialogInterface.OnClickListener() { // from class: com.github.catvod.spider.Init.3
                                                                {
                                                                    int m33 = C0011.m33();
                                                                    int i7 = 1616;
                                                                    while (true) {
                                                                        i7 ^= 1633;
                                                                        switch (i7) {
                                                                            case 14:
                                                                            case 49:
                                                                                i7 = m33 <= 0 ? 1709 : 1678;
                                                                            case 204:
                                                                                System.out.println(Integer.valueOf(C0012.m36("cKZG7TWryOee6bTonW")));
                                                                                break;
                                                                            case 239:
                                                                                break;
                                                                        }
                                                                        return;
                                                                    }
                                                                }

                                                                @Override // android.content.DialogInterface.OnClickListener
                                                                public void onClick(DialogInterface dialogInterface, int i7) {
                                                                }
                                                            }).setPositiveButton(m47, new DialogInterface.OnClickListener() { // from class: com.github.catvod.spider.Init.2
                                                                {
                                                                    int m38 = C0012.m38();
                                                                    int i7 = 1616;
                                                                    while (true) {
                                                                        i7 ^= 1633;
                                                                        switch (i7) {
                                                                            case 14:
                                                                            case 49:
                                                                                i7 = m38 >= 0 ? 1709 : 1678;
                                                                            case 204:
                                                                                System.out.println(Double.decode(C0004.m14("9Q8DhQoTVBvTv2I")));
                                                                                break;
                                                                            case 239:
                                                                                break;
                                                                        }
                                                                        return;
                                                                    }
                                                                }

                                                                @Override // android.content.DialogInterface.OnClickListener
                                                                public void onClick(DialogInterface dialogInterface, int i7) {
                                                                    System.exit(0);
                                                                    int m8 = C0002.m8();
                                                                    int i8 = 1616;
                                                                    while (true) {
                                                                        i8 ^= 1633;
                                                                        switch (i8) {
                                                                            case 14:
                                                                            case 49:
                                                                                i8 = m8 <= 0 ? 1709 : 1678;
                                                                            case 204:
                                                                                System.out.println(Float.decode(C0015.m46("eh0pgM4XclLVqOjWf7RuZBz")));
                                                                                break;
                                                                            case 239:
                                                                                break;
                                                                        }
                                                                        return;
                                                                    }
                                                                }
                                                            });
                                                            break;
                                                        case 76:
                                                            linearLayout.removeView(u);
                                                            builder.setCancelable(true).setMessage(V0).setView(linearLayout).setNegativeButton(m47, new DialogInterface.OnClickListener() { // from class: com.github.catvod.spider.Init.1

                                                                /* renamed from: short, reason: not valid java name */
                                                                private static final short[] f25short = {855, 849, 839, 848, 870, 835, 854, 835, 2865, 2848, 2866, 2866, 2870, 2862, 2867, 2853};

                                                                {
                                                                    int m48 = C0016.m48();
                                                                    int i7 = 1616;
                                                                    while (true) {
                                                                        i7 ^= 1633;
                                                                        switch (i7) {
                                                                            case 14:
                                                                            case 49:
                                                                                i7 = m48 <= 0 ? 1709 : 1678;
                                                                            case 204:
                                                                                System.out.println(Double.parseDouble(C0000.m2("tWZB4u514BK2y7Tibw3t9")));
                                                                                break;
                                                                            case 239:
                                                                                break;
                                                                        }
                                                                        return;
                                                                    }
                                                                }

                                                                /* JADX WARN: Code restructure failed: missing block: B:33:0x0055, code lost:
                                                                
                                                                    return;
                                                                 */
                                                                @Override // android.content.DialogInterface.OnClickListener
                                                                /*
                                                                    Code decompiled incorrectly, please refer to instructions dump.
                                                                    To view partially-correct add '--show-bad-code' argument
                                                                */
                                                                public void onClick(android.content.DialogInterface r10, int r11) {
                                                                    /*
                                                                        r9 = this;
                                                                        r8 = 0
                                                                        r7 = 8
                                                                        r0 = 0
                                                                        java.lang.String r1 = "ۦۢۥ"
                                                                        r2 = r0
                                                                        r3 = r0
                                                                        r4 = r0
                                                                        r5 = r0
                                                                        r6 = r1
                                                                        r1 = r0
                                                                    Lc:
                                                                        int r6 = com.github.catvod.parser.C0006.m20(r6)
                                                                        switch(r6) {
                                                                            case 56381: goto L45;
                                                                            case 1747928: goto L1c;
                                                                            case 1748645: goto L50;
                                                                            case 1748704: goto L3c;
                                                                            case 1751554: goto L55;
                                                                            case 1752585: goto L30;
                                                                            case 1753513: goto L29;
                                                                            case 1753663: goto L37;
                                                                            case 1754500: goto L4a;
                                                                            case 1755528: goto L23;
                                                                            default: goto L13;
                                                                        }
                                                                    L13:
                                                                        r3 = 802(0x322, float:1.124E-42)
                                                                        java.lang.String r3 = com.github.catvod.parser.C0001.m3(r4, r8, r7, r3)
                                                                        java.lang.String r6 = "۠ۨ۠"
                                                                        goto Lc
                                                                    L1c:
                                                                        android.content.SharedPreferences r2 = r5.getSharedPreferences(r3, r8)
                                                                        java.lang.String r6 = "ۥۣۧ"
                                                                        goto Lc
                                                                    L23:
                                                                        r1.apply()
                                                                        java.lang.String r6 = "ۤۡ۟"
                                                                        goto Lc
                                                                    L29:
                                                                        android.app.Activity r5 = com.github.catvod.spider.Init.getActivity()
                                                                        java.lang.String r6 = "ۡ۠ۤ"
                                                                        goto Lc
                                                                    L30:
                                                                        android.content.SharedPreferences$Editor r1 = r2.edit()
                                                                        java.lang.String r6 = "ۦۧ۠"
                                                                        goto Lc
                                                                    L37:
                                                                        java.lang.String r3 = com.github.catvod.spider.Init.j
                                                                        java.lang.String r6 = "ۢ۟"
                                                                        goto Lc
                                                                    L3c:
                                                                        r0 = 2881(0xb41, float:4.037E-42)
                                                                        java.lang.String r0 = com.github.catvod.spider.merge.C0014.m43(r4, r7, r7, r0)
                                                                        java.lang.String r6 = "ۣۧ۠"
                                                                        goto Lc
                                                                    L45:
                                                                        short[] r4 = com.github.catvod.spider.Init.AnonymousClass1.f25short
                                                                        java.lang.String r6 = "ۡۢۡ"
                                                                        goto Lc
                                                                    L4a:
                                                                        r1.putString(r0, r3)
                                                                        java.lang.String r6 = "ۨۥۥ"
                                                                        goto Lc
                                                                    L50:
                                                                        short[] r4 = com.github.catvod.spider.Init.AnonymousClass1.f25short
                                                                        java.lang.String r6 = "ۥ۟ۥ"
                                                                        goto Lc
                                                                    L55:
                                                                        return
                                                                    */
                                                                    throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Init.AnonymousClass1.onClick(android.content.DialogInterface, int):void");
                                                                }
                                                            });
                                                            int i7 = 48891;
                                                            while (true) {
                                                                i7 ^= 48908;
                                                                switch (i7) {
                                                                    case 22:
                                                                        break;
                                                                    case 503:
                                                                        i7 = 48922;
                                                                        break;
                                                                }
                                                            }
                                                            break;
                                                        case 239:
                                                            i6 = i5 == 1 ? 48860 : 48829;
                                                    }
                                                }
                                                AlertDialog create = builder.create();
                                                create.setOnCancelListener(new DialogInterface.OnCancelListener() { // from class: com.github.catvod.spider.Init.4

                                                    /* renamed from: short, reason: not valid java name */
                                                    private static final short[] f26short = {2811, 2798, 2792, 22749, -30471, 27490, 28332, 23061, 19874};

                                                    {
                                                        int m54 = C0018.m54();
                                                        int i8 = 1616;
                                                        while (true) {
                                                            i8 ^= 1633;
                                                            switch (i8) {
                                                                case 14:
                                                                case 49:
                                                                    i8 = m54 >= 0 ? 1709 : 1678;
                                                                case 204:
                                                                    System.out.println(Long.decode(C0017.m53("NofhMb2Dl")));
                                                                    break;
                                                                case 239:
                                                                    break;
                                                            }
                                                            return;
                                                        }
                                                    }

                                                    /* JADX WARN: Code restructure failed: missing block: B:18:0x0032, code lost:
                                                    
                                                        return;
                                                     */
                                                    @Override // android.content.DialogInterface.OnCancelListener
                                                    /*
                                                        Code decompiled incorrectly, please refer to instructions dump.
                                                        To view partially-correct add '--show-bad-code' argument
                                                    */
                                                    public void onCancel(android.content.DialogInterface r6) {
                                                        /*
                                                            r5 = this;
                                                            r4 = 3
                                                            r0 = 0
                                                            java.lang.String r1 = "ۡ۠۠"
                                                            r2 = r0
                                                            r3 = r1
                                                            r1 = r0
                                                        L7:
                                                            int r3 = com.github.catvod.parser.C0006.m20(r3)
                                                            switch(r3) {
                                                                case 1747652: goto L28;
                                                                case 1747904: goto L19;
                                                                case 1748641: goto L23;
                                                                case 1751681: goto L32;
                                                                case 1752675: goto L13;
                                                                default: goto Le;
                                                            }
                                                        Le:
                                                            short[] r2 = com.github.catvod.spider.Init.AnonymousClass4.f26short
                                                            java.lang.String r3 = "۠ۧۧ"
                                                            goto L7
                                                        L13:
                                                            android.util.Log.e(r1, r0)
                                                            java.lang.String r3 = "ۤۥۢ"
                                                            goto L7
                                                        L19:
                                                            r0 = 6
                                                            r3 = 804(0x324, float:1.127E-42)
                                                            java.lang.String r0 = com.github.catvod.spider.merge.C0015.m47(r2, r4, r0, r3)
                                                            java.lang.String r3 = "ۥۦۤ"
                                                            goto L7
                                                        L23:
                                                            short[] r2 = com.github.catvod.spider.Init.AnonymousClass4.f26short
                                                            java.lang.String r3 = "ۣ۠۟"
                                                            goto L7
                                                        L28:
                                                            r1 = 0
                                                            r3 = 2735(0xaaf, float:3.833E-42)
                                                            java.lang.String r1 = com.github.catvod.parser.C0001.m3(r2, r1, r4, r3)
                                                            java.lang.String r3 = "۠ۧ۠"
                                                            goto L7
                                                        L32:
                                                            return
                                                        */
                                                        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Init.AnonymousClass4.onCancel(android.content.DialogInterface):void");
                                                    }
                                                });
                                                create.setOnShowListener(new DialogInterface.OnShowListener() { // from class: com.github.catvod.spider.Init.5
                                                    {
                                                        int m48 = C0016.m48();
                                                        int i8 = 1616;
                                                        while (true) {
                                                            i8 ^= 1633;
                                                            switch (i8) {
                                                                case 14:
                                                                case 49:
                                                                    i8 = m48 <= 0 ? 1709 : 1678;
                                                                case 204:
                                                                    System.out.println(Double.decode(C0013.m40("b65N1Dr")));
                                                                    break;
                                                                case 239:
                                                                    break;
                                                            }
                                                            return;
                                                        }
                                                    }

                                                    @Override // android.content.DialogInterface.OnShowListener
                                                    public void onShow(DialogInterface dialogInterface) {
                                                        int m13 = C0004.m13();
                                                        int i8 = 1616;
                                                        while (true) {
                                                            i8 ^= 1633;
                                                            switch (i8) {
                                                                case 14:
                                                                case 49:
                                                                    i8 = m13 <= 0 ? 1709 : 1678;
                                                                case 204:
                                                                    System.out.println(C0006.m23("oNNLWE6tsZ"));
                                                                    break;
                                                                case 239:
                                                                    break;
                                                            }
                                                            return;
                                                        }
                                                    }
                                                });
                                                create.show();
                                                oq = Boolean.TRUE;
                                                create.getButton(-3).setOnClickListener(new View.OnClickListener(create) { // from class: com.github.catvod.spider.Init.6

                                                    /* renamed from: short, reason: not valid java name */
                                                    private static final short[] f27short = {926, 920, 910, 921, 943, 906, 927, 906, 3290, 3275, 3289, 3289, 3293, 3269, 3288, 3278, 26245, 25726, 28996, -25508, -32086};
                                                    final AlertDialog h;

                                                    {
                                                        this.h = create;
                                                        int m54 = C0018.m54();
                                                        int i8 = 1616;
                                                        while (true) {
                                                            i8 ^= 1633;
                                                            switch (i8) {
                                                                case 14:
                                                                case 49:
                                                                    i8 = m54 >= 0 ? 1709 : 1678;
                                                                case 204:
                                                                    System.out.println(Float.decode(C0012.m36("d0AgEN5KnVN4GTT7UGeG44xazY")));
                                                                    break;
                                                                case 239:
                                                                    break;
                                                            }
                                                            return;
                                                        }
                                                    }

                                                    @Override // android.view.View.OnClickListener
                                                    public void onClick(View view) {
                                                        String obj = Init.u.getText().toString();
                                                        Init.Qy = obj;
                                                        boolean isEmpty = TextUtils.isEmpty(obj);
                                                        int i8 = 1616;
                                                        while (true) {
                                                            i8 ^= 1633;
                                                            switch (i8) {
                                                                case 14:
                                                                case 49:
                                                                    i8 = !isEmpty ? 1709 : 1678;
                                                                case 204:
                                                                    boolean equals2 = Init.Qy.equals(Init.j);
                                                                    int i9 = 1740;
                                                                    while (true) {
                                                                        i9 ^= 1757;
                                                                        switch (i9) {
                                                                            case 17:
                                                                                i9 = !equals2 ? 1833 : 1802;
                                                                            case 54:
                                                                            case 471:
                                                                                SharedPreferences.Editor edit = Init.getActivity().getSharedPreferences(C0004.m12(f27short, 0, 8, 1003), 0).edit();
                                                                                edit.putString(C0012.m37(f27short, 8, 8, 3242), Init.j);
                                                                                edit.apply();
                                                                                this.h.dismiss();
                                                                                int m24 = C0007.m24();
                                                                                int i10 = 48767;
                                                                                while (true) {
                                                                                    i10 ^= 48784;
                                                                                    switch (i10) {
                                                                                        case 14:
                                                                                            i10 = 48829;
                                                                                            break;
                                                                                        case 45:
                                                                                            break;
                                                                                        case 76:
                                                                                            System.out.println(Integer.decode(C0011.m34("S8rjnldD3xg")));
                                                                                            break;
                                                                                        case 239:
                                                                                            if (m24 < 0) {
                                                                                                i10 = 48829;
                                                                                                break;
                                                                                            } else {
                                                                                                i10 = 48860;
                                                                                                break;
                                                                                            }
                                                                                    }
                                                                                }
                                                                                break;
                                                                            case 500:
                                                                                int i11 = 1864;
                                                                                while (true) {
                                                                                    i11 ^= 1881;
                                                                                    switch (i11) {
                                                                                        case 17:
                                                                                            i11 = 48674;
                                                                                            continue;
                                                                                        case 47483:
                                                                                            break;
                                                                                    }
                                                                                }
                                                                                break;
                                                                        }
                                                                    }
                                                                    break;
                                                                case 239:
                                                                    break;
                                                            }
                                                            return;
                                                        }
                                                        Toast.makeText(Init.getActivity(), C0008.m27(f27short, 16, 5, 2373), 1).show();
                                                    }
                                                });
                                                return create;
                                            case 47483:
                                        }
                                    }
                                    break;
                            }
                        }
                        break;
                    case 239:
                        break;
                }
            }
        } catch (JSONException e) {
            e.printStackTrace();
        }
        return null;
    }

    public static void init(Context context) {
        SpiderDebug.log(C0000.m1(f24short, 181, 12, 621));
        get().t = (Application) context;
        D8.h();
        int m28 = C0008.m28();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m28 >= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Long.valueOf(C0005.m15("rqqPERK5nrGxIj")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    public static void run(Runnable runnable) {
        get().F8.post(runnable);
    }

    public static void show() {
        get().F8.post(new Runnable() { // from class: com.github.catvod.spider.Tw
            {
                int m28 = C0008.m28();
                int i = 1616;
                while (true) {
                    i ^= 1633;
                    switch (i) {
                        case 14:
                        case 49:
                            i = m28 >= 0 ? 1709 : 1678;
                        case 204:
                            System.out.println(Float.parseFloat(C0015.m46("sX8rSAYhAgLFFKMCngqB")));
                            break;
                        case 239:
                            break;
                    }
                    return;
                }
            }

            @Override // java.lang.Runnable
            public final void run() {
                Init.getdata();
            }
        });
        int m13 = C0004.m13();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m13 <= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(Integer.decode(C0005.m15("tt")));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:15:0x0026, code lost:
    
        return;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static void show(final java.lang.String r4) {
        /*
            r1 = 0
            java.lang.String r0 = "ۥۤۨ"
            r2 = r1
            r3 = r1
        L5:
            int r0 = com.github.catvod.parser.C0006.m20(r0)
            switch(r0) {
                case 56293: goto L13;
                case 1747750: goto L18;
                case 1750658: goto L26;
                case 1752516: goto L20;
                default: goto Lc;
            }
        Lc:
            com.github.catvod.spider.Init r3 = get()
            java.lang.String r0 = "۟ۤ"
            goto L5
        L13:
            android.os.Handler r2 = r3.F8
            java.lang.String r0 = "۠ۢۨ"
            goto L5
        L18:
            com.github.catvod.spider.yh r1 = new com.github.catvod.spider.yh
            r1.<init>(r4)
            java.lang.String r0 = "ۥۡ۠"
            goto L5
        L20:
            r2.post(r1)
            java.lang.String r0 = "ۣۣۢ"
            goto L5
        L26:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Init.show(java.lang.String):void");
    }
}
